<?
    final class Principio_Model_Option extends Principio_Model_Setting implements PrincipioLab_IDAble
    {
        use PrincipioLab_TCollection;

        private $name;
        private $group;
        private $UA;

        public function __construct(array $values = null)
        {
            parent::__construct($values);


            if (is_array($values))
            {
                $this->name = $values['name'];
                $this->group = $values['group'];
                $this->UA = $values['ua'];
            }
            else
            {
                $this->name = "";
                $this->group = "";
                $this->UA = "na";
            };
        }


        public function _getID() { return $this->getID(); }


        public static function fromArray(array $values = null)
        {
            return new Principio_Model_Option($values);
        }


        public function getName() { return $this->name; }
        public function getGroup() { return $this->group; }
        public function getUA() { return $this->UA; }


        public function setName($name)
        {
            $this->name = $name;
            return $this;
        }


        public function setGroup($group)
        {
            $this->group = $group;
            return $this;
        }


        public function setUA($UA)
        {
            $this->UA = $UA;
            return $this;
        }
    }
?>